home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / SOFTWARE / ISSUE1 / EASYC / !EasyC++ / h / signal < prev    next >
Text File  |  1994-10-05  |  798b  |  40 lines

  1. /* Header file <signal.h>                  */
  2. /* Issue 1.01 05/10/94                     */
  3. /* Copyright © Beebug Ltd. 1994            */
  4.  
  5. #ifndef __signal_h
  6. #define __signal_h
  7.  
  8. #ifndef __cplusplus 
  9. #pragma standard 0x08 
  10. #else 
  11. extern "C" {
  12. #endif 
  13. #pragma list 0
  14.  
  15. #define SIG_DFL &__default_signal_handler
  16. #define SIG_ERR &__error_signal_marker
  17. #define SIG_IGN &__ignore_signal_handler
  18.  
  19. #define SIGABRT  1
  20. #define SIGFPE   2
  21. #define SIGILL   3
  22. #define SIGINT   4
  23. #define SIGSEGV  5
  24. #define SIGTERM  6
  25. #define SIGSTAK  7
  26.  
  27. typedef int sig_atomic_t;
  28.  
  29. extern void __default_signal_handler(int);
  30. extern void __error_signal_marker(int);
  31. extern void __ignore_signal_handler(int);
  32. extern void (*signal (int sig, void (*func)(int)))(int);
  33. extern int raise(int sig);
  34.  
  35. #ifdef __cplusplus
  36. } ;
  37. #endif
  38.  
  39. #endif
  40.